package com.gotech.service.impl;

import com.gotech.dao.impl.Userdaoimpl;
import com.gotech.service.Userservice;
import com.gotech.dao.Userdao;
public class Userserviceimpl implements Userservice {
    Userdao userdao=new Userdaoimpl();
    @Override
    public void register(String username, String password, String flag, String score) {
        userdao.register(username, password, flag, score);
    }

    @Override
    public boolean login(String username, String password) {
        return userdao.login(username, password);
    }
}
